﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Collection" msprop:Generator_UserTableName="Collection" msprop:Generator_RowDeletedName="CollectionRowDeleted" msprop:Generator_RowChangedName="CollectionRowChanged" msprop:Generator_RowClassName="CollectionRow" msprop:Generator_RowChangingName="CollectionRowChanging" msprop:Generator_RowEvArgName="CollectionRowChangeEvent" msprop:Generator_RowEvHandlerName="CollectionRowChangeEventHandler" msprop:Generator_TableClassName="CollectionDataTable" msprop:Generator_TableVarName="tableCollection" msprop:Generator_RowDeletingName="CollectionRowDeleting" msprop:Generator_TablePropName="Collection">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Thumbnails" msprop:Generator_UserTableName="Thumbnails" msprop:Generator_RowDeletedName="ThumbnailsRowDeleted" msprop:Generator_RowChangedName="ThumbnailsRowChanged" msprop:Generator_RowClassName="ThumbnailsRow" msprop:Generator_RowChangingName="ThumbnailsRowChanging" msprop:Generator_RowEvArgName="ThumbnailsRowChangeEvent" msprop:Generator_RowEvHandlerName="ThumbnailsRowChangeEventHandler" msprop:Generator_TableClassName="ThumbnailsDataTable" msprop:Generator_TableVarName="tableThumbnails" msprop:Generator_RowDeletingName="ThumbnailsRowDeleting" msprop:Generator_TablePropName="Thumbnails" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Thumbnail" msprop:Generator_UserTableName="Thumbnail" msprop:Generator_RowDeletedName="ThumbnailRowDeleted" msprop:Generator_RowChangedName="ThumbnailRowChanged" msprop:Generator_RowClassName="ThumbnailRow" msprop:Generator_RowChangingName="ThumbnailRowChanging" msprop:Generator_RowEvArgName="ThumbnailRowChangeEvent" msprop:Generator_RowEvHandlerName="ThumbnailRowChangeEventHandler" msprop:Generator_TableClassName="ThumbnailDataTable" msprop:Generator_TableVarName="tableThumbnail" msprop:Generator_RowDeletingName="ThumbnailRowDeleting" msprop:Generator_TablePropName="Thumbnail" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:attribute name="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:int" />
                  <xs:attribute name="MinLevel" msprop:Generator_UserColumnName="MinLevel" msprop:Generator_ColumnPropNameInRow="MinLevel" msprop:Generator_ColumnVarNameInTable="columnMinLevel" msprop:Generator_ColumnPropNameInTable="MinLevelColumn" type="xs:int" use="required" />
                  <xs:attribute name="MaxLevel" msprop:Generator_UserColumnName="MaxLevel" msprop:Generator_ColumnPropNameInRow="MaxLevel" msprop:Generator_ColumnVarNameInTable="columnMaxLevel" msprop:Generator_ColumnPropNameInTable="MaxLevelColumn" type="xs:int" use="required" />
                  <xs:attribute name="SizeX" msprop:Generator_UserColumnName="SizeX" msprop:Generator_ColumnPropNameInRow="SizeX" msprop:Generator_ColumnVarNameInTable="columnSizeX" msprop:Generator_ColumnPropNameInTable="SizeXColumn" type="xs:float" use="required" />
                  <xs:attribute name="SizeY" msprop:Generator_UserColumnName="SizeY" msprop:Generator_ColumnPropNameInRow="SizeY" msprop:Generator_ColumnVarNameInTable="columnSizeY" msprop:Generator_ColumnPropNameInTable="SizeYColumn" type="xs:float" use="required" />
                  <xs:attribute name="Thumbnails_Id" msprop:Generator_UserColumnName="Thumbnails_Id" msprop:Generator_ColumnPropNameInRow="Thumbnails_Id" msprop:Generator_ColumnVarNameInTable="columnThumbnails_Id" msprop:Generator_ColumnPropNameInTable="Thumbnails_IdColumn" type="xs:int" msdata:AllowDBNull="false" use="prohibited" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="Thumbnails_Id" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="Thumbnails_Id" msprop:Generator_ColumnPropNameInRow="Thumbnails_Id" msprop:Generator_ColumnVarNameInTable="columnThumbnails_Id" msprop:Generator_ColumnPropNameInTable="Thumbnails_IdColumn" type="xs:int" msdata:AllowDBNull="false" use="prohibited" />
            <xs:attribute name="Collection_Id" msprop:Generator_UserColumnName="Collection_Id" msprop:Generator_ColumnPropNameInRow="Collection_Id" msprop:Generator_ColumnVarNameInTable="columnCollection_Id" msprop:Generator_ColumnPropNameInTable="Collection_IdColumn" type="xs:int" use="prohibited" />
          </xs:complexType>
        </xs:element>
        <xs:element name="Items" msprop:Generator_UserTableName="Items" msprop:Generator_RowDeletedName="ItemsRowDeleted" msprop:Generator_RowChangedName="ItemsRowChanged" msprop:Generator_RowClassName="ItemsRow" msprop:Generator_RowChangingName="ItemsRowChanging" msprop:Generator_RowEvArgName="ItemsRowChangeEvent" msprop:Generator_RowEvHandlerName="ItemsRowChangeEventHandler" msprop:Generator_TableClassName="ItemsDataTable" msprop:Generator_TableVarName="tableItems" msprop:Generator_RowDeletingName="ItemsRowDeleting" msprop:Generator_TablePropName="Items" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Item" msprop:Generator_UserTableName="Item" msprop:Generator_RowDeletedName="ItemRowDeleted" msprop:Generator_RowChangedName="ItemRowChanged" msprop:Generator_RowClassName="ItemRow" msprop:Generator_RowChangingName="ItemRowChanging" msprop:Generator_RowEvArgName="ItemRowChangeEvent" msprop:Generator_RowEvHandlerName="ItemRowChangeEventHandler" msprop:Generator_TableClassName="ItemDataTable" msprop:Generator_TableVarName="tableItem" msprop:Generator_RowDeletingName="ItemRowDeleting" msprop:Generator_TablePropName="Item" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:attribute name="Id" msprop:Generator_UserColumnName="Id" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInTable="IdColumn" type="xs:int" use="required" />
                  <xs:attribute name="Init" msprop:Generator_UserColumnName="Init" msprop:Generator_ColumnPropNameInRow="Init" msprop:Generator_ColumnVarNameInTable="columnInit" msprop:Generator_ColumnPropNameInTable="InitColumn" type="xs:string" use="required" />
                  <xs:attribute name="Relative" msprop:Generator_UserColumnName="Relative" msprop:Generator_ColumnPropNameInRow="Relative" msprop:Generator_ColumnVarNameInTable="columnRelative" msprop:Generator_ColumnPropNameInTable="RelativeColumn" type="xs:int" use="required" />
                  <xs:attribute name="Type" msprop:Generator_UserColumnName="Type" msprop:Generator_ColumnPropNameInRow="Type" msprop:Generator_ColumnVarNameInTable="columnType" msprop:Generator_ColumnPropNameInTable="TypeColumn" type="xs:string" use="required" />
                  <xs:attribute name="Thumb" msprop:Generator_UserColumnName="Thumb" msprop:Generator_ColumnPropNameInRow="Thumb" msprop:Generator_ColumnVarNameInTable="columnThumb" msprop:Generator_ColumnPropNameInTable="ThumbColumn" type="xs:int" use="required" />
                  <xs:attribute name="Items_Id" msprop:Generator_UserColumnName="Items_Id" msprop:Generator_ColumnPropNameInRow="Items_Id" msprop:Generator_ColumnVarNameInTable="columnItems_Id" msprop:Generator_ColumnPropNameInTable="Items_IdColumn" type="xs:int" msdata:AllowDBNull="false" use="prohibited" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="Items_Id" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="Items_Id" msprop:Generator_ColumnPropNameInRow="Items_Id" msprop:Generator_ColumnVarNameInTable="columnItems_Id" msprop:Generator_ColumnPropNameInTable="Items_IdColumn" type="xs:int" msdata:AllowDBNull="false" use="prohibited" />
            <xs:attribute name="Collection_Id" msprop:Generator_UserColumnName="Collection_Id" msprop:Generator_ColumnPropNameInRow="Collection_Id" msprop:Generator_ColumnVarNameInTable="columnCollection_Id" msprop:Generator_ColumnPropNameInTable="Collection_IdColumn" type="xs:int" use="prohibited" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="Version" msprop:Generator_UserColumnName="Version" msprop:Generator_ColumnPropNameInRow="Version" msprop:Generator_ColumnVarNameInTable="columnVersion" msprop:Generator_ColumnPropNameInTable="VersionColumn" type="xs:int" use="required" />
      <xs:attribute name="UseStringsFile" msprop:Generator_UserColumnName="UseStringsFile" msprop:Generator_ColumnPropNameInRow="UseStringsFile" msprop:Generator_ColumnVarNameInTable="columnUseStringsFile" msprop:Generator_ColumnPropNameInTable="UseStringsFileColumn" type="xs:int" use="required" />
      <xs:attribute name="MinLevel" msprop:Generator_UserColumnName="MinLevel" msprop:Generator_ColumnPropNameInRow="MinLevel" msprop:Generator_ColumnVarNameInTable="columnMinLevel" msprop:Generator_ColumnPropNameInTable="MinLevelColumn" type="xs:int" use="required" />
      <xs:attribute name="MaxLevel" msprop:Generator_UserColumnName="MaxLevel" msprop:Generator_ColumnPropNameInRow="MaxLevel" msprop:Generator_ColumnVarNameInTable="columnMaxLevel" msprop:Generator_ColumnPropNameInTable="MaxLevelColumn" type="xs:int" use="required" />
      <xs:attribute name="PageSizeLog2" msprop:Generator_UserColumnName="PageSizeLog2" msprop:Generator_ColumnPropNameInRow="PageSizeLog2" msprop:Generator_ColumnVarNameInTable="columnPageSizeLog2" msprop:Generator_ColumnPropNameInTable="PageSizeLog2Column" type="xs:int" use="required" />
      <xs:attribute name="PageFormat" msprop:Generator_UserColumnName="PageFormat" msprop:Generator_ColumnPropNameInRow="PageFormat" msprop:Generator_ColumnVarNameInTable="columnPageFormat" msprop:Generator_ColumnPropNameInTable="PageFormatColumn" type="xs:string" use="required" />
      <xs:attribute name="PageQuality" msprop:Generator_UserColumnName="PageQuality" msprop:Generator_ColumnPropNameInRow="PageQuality" msprop:Generator_ColumnVarNameInTable="columnPageQuality" msprop:Generator_ColumnPropNameInTable="PageQualityColumn" type="xs:int" use="required" />
      <xs:attribute name="NextItemId" msprop:Generator_UserColumnName="NextItemId" msprop:Generator_ColumnPropNameInRow="NextItemId" msprop:Generator_ColumnVarNameInTable="columnNextItemId" msprop:Generator_ColumnPropNameInTable="NextItemIdColumn" type="xs:int" use="required" />
      <xs:attribute name="ItemCount" msprop:Generator_UserColumnName="ItemCount" msprop:Generator_ColumnPropNameInRow="ItemCount" msprop:Generator_ColumnVarNameInTable="columnItemCount" msprop:Generator_ColumnPropNameInTable="ItemCountColumn" type="xs:int" use="required" />
      <xs:attribute name="Collection_Id" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="Collection_Id" msprop:Generator_ColumnPropNameInRow="Collection_Id" msprop:Generator_ColumnVarNameInTable="columnCollection_Id" msprop:Generator_ColumnPropNameInTable="Collection_IdColumn" type="xs:int" msdata:AllowDBNull="false" use="prohibited" />
    </xs:complexType>
  </xs:element>
  <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="NewDataSet" msprop:Generator_DataSetName="NewDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="Collection" />
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Thumbnails_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//Thumbnails" />
      <xs:field xpath="@Thumbnails_Id" />
    </xs:unique>
    <xs:unique name="Items_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//Items" />
      <xs:field xpath="@Items_Id" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//Collection" />
      <xs:field xpath="@Collection_Id" />
    </xs:unique>
    <xs:keyref name="Collection_Items" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="Collection_Items" msprop:rel_Generator_RelationVarName="relationCollection_Items" msprop:rel_Generator_UserChildTable="Items" msprop:rel_Generator_UserParentTable="Collection" msprop:rel_Generator_ParentPropName="CollectionRow" msprop:rel_Generator_ChildPropName="GetItemsRows">
      <xs:selector xpath=".//Items" />
      <xs:field xpath="@Collection_Id" />
    </xs:keyref>
    <xs:keyref name="Items_Item" refer="Items_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="Items_Item" msprop:rel_Generator_RelationVarName="relationItems_Item" msprop:rel_Generator_UserChildTable="Item" msprop:rel_Generator_UserParentTable="Items" msprop:rel_Generator_ParentPropName="ItemsRow" msprop:rel_Generator_ChildPropName="GetItemRows">
      <xs:selector xpath=".//Item" />
      <xs:field xpath="@Items_Id" />
    </xs:keyref>
    <xs:keyref name="Collection_Thumbnails" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="Collection_Thumbnails" msprop:rel_Generator_RelationVarName="relationCollection_Thumbnails" msprop:rel_Generator_UserChildTable="Thumbnails" msprop:rel_Generator_UserParentTable="Collection" msprop:rel_Generator_ParentPropName="CollectionRow" msprop:rel_Generator_ChildPropName="GetThumbnailsRows">
      <xs:selector xpath=".//Thumbnails" />
      <xs:field xpath="@Collection_Id" />
    </xs:keyref>
    <xs:keyref name="Thumbnails_Thumbnail" refer="Thumbnails_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="Thumbnails_Thumbnail" msprop:rel_Generator_RelationVarName="relationThumbnails_Thumbnail" msprop:rel_Generator_UserChildTable="Thumbnail" msprop:rel_Generator_UserParentTable="Thumbnails" msprop:rel_Generator_ParentPropName="ThumbnailsRow" msprop:rel_Generator_ChildPropName="GetThumbnailRows">
      <xs:selector xpath=".//Thumbnail" />
      <xs:field xpath="@Thumbnails_Id" />
    </xs:keyref>
  </xs:element>
</xs:schema>